package com.ruoyi.system.domain.fx;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 店铺商品对象 fx_store_good
 *
 * @author ruoyi
 * @date 2024-07-23
 */

@Data
public class FxStoreGood extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 供应商商品id */
    private Long goodId;

    /** 创建者 */
    private Integer createUser;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private Integer counts;

    /** 累计销售数量 */
    @Excel(name = "累计销售数量")
    private Integer totalSellCount;

    /** 店铺id */
    private Integer storeId;

    /** 月售 */
    @Excel(name = "月售")
    private Integer monthSellCount;

    @Excel(name = "状态",readConverterExp = "0=存在,1=删除")
    private Integer delFlag;

    @Excel(name = "上架状态",readConverterExp = "0=上架,1=下架")
    private Integer isInitiate;

    /**
     * 库存版本号
     */
    private Integer version;

    @TableField(exist = false)
    public String goodName;

}
